package com.cc.card.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cc.card.entity.CardEntity;

import java.text.ParseException;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-12-11 14:54:41
 */
public interface CardService extends IService<CardEntity> {

    CardEntity addCard(Long uid, String cardAddress, Integer cardType, String outworkComments, String workRemarks, List<String> imageUrls);

    List<CardEntity> getKQ(Long uid, String begin, String end) throws ParseException;

    Page<CardEntity> getAllKQ(Map<String, Object> params) throws ParseException;
}

